package com.itheima.practice.demo01;

public class IntegerDemo {
    public static void main(String[] args) {
        int num1 = 100;
        String str1 = String.valueOf(num1);
        System.out.println(str1 + 111);

        String str2 = num1 + "";
        System.out.println(str2 + 222);

        String str3 = "200";
        Integer i = Integer.valueOf(str3);
        int num2 = i;
        System.out.println(num2 + 333);

        int num3 = Integer.parseInt(str3);
        System.out.println(num3 + 444);
    }
}
